package com.shiguiwu.springmybatis.designpattern.adapter;

/**
 * @description: mp4播放器
 * @author: stone
 * @date: Created by 2021/2/23 16:42
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.designpattern.adapter
 */
public class Mp4Player implements AdvancedMediaPlayer{
    @Override
    public void playMp4(String fileName) {
        System.out.println("播放mp4格式的。。。。。。" +fileName);
    }

    @Override
    public void playVlc(String fileName) {
        System.err.println("不支持vlc播放。。。。。。。");
        throw new UnsupportedOperationException("不支持播放vlc.....");
    }

}
